/*
 * @Description: 动态表单模块
 */
import { Module } from '@nestjs/common';
import { TypegooseModule } from 'nest-typegoose';
import { FormTemplate } from '../../libs/db/src/models/form-template.model';
import { FormSubmission } from '../../libs/db/src/models/form-submission.model';
import { DynamicFormController } from './dynamic-form.controller';
import { DynamicFormService } from './dynamic-form.service';

@Module({
  imports: [
    TypegooseModule.forFeature([FormTemplate, FormSubmission]),
  ],
  controllers: [DynamicFormController],
  providers: [DynamicFormService],
  exports: [DynamicFormService],
})
export class DynamicFormModule {}